
--------------------------------------------------------------------
--Nombre:	SP_ActualizarConfigAuditoriaTnda
--Objetivo: Actualizar registros a la tabla ConfigAuditoriaTnda
--Creacion    : TISI(GOS) 20130226
--------------------------------------------------------------------
CREATE PROCEDURE SP_ActualizarConfigAuditoriaTnda
(

  @IDConfigAuditoria int,
  @CodConfigAudi varchar(15),
  @DescConfigAudi varchar(250),
  @PntjSIConfigAudi int,
  @PntjNOConfigAudi int,
  @PntjNAConfigAudi int,
  @EstadoConfigAuid int,
  @UsuReg varchar(20),
  @FecRegis datetime,
  @TermCnxReg varchar(50),
  @UsuMod varchar(20),
  @FecMod datetime,
  @TermCnxMod varchar(50),
  @IDEmp int
)
AS
BEGIN
  UPDATE ConfigAuditoriaTnda
  SET
  IDConfigAuditoria = @IDConfigAuditoria,
    CodConfigAudi = @CodConfigAudi,
    DescConfigAudi = @DescConfigAudi,
    PntjSIConfigAudi = @PntjSIConfigAudi,
    PntjNOConfigAudi = @PntjNOConfigAudi,
    PntjNAConfigAudi = @PntjNAConfigAudi,
    EstadoConfigAuid = @EstadoConfigAuid,
    UsuReg = @UsuReg,
    FecRegis = @FecRegis,
    TermCnxReg = @TermCnxReg,
    UsuMod = @UsuMod,
    FecMod = @FecMod,
    TermCnxMod = @TermCnxMod,
    IDEmp = @IDEmp   
 WHERE
 IDConfigAuditoria = @IDConfigAuditoria
END
GO
  